using Unity.Entities;
using UnityEngine;

public class MapGridAuthoring : MonoBehaviour
{
    public GameObject ArrowGameObject;
}

class GridAuthoringBaker : Baker<MapGridAuthoring>
{
    public override void Bake(MapGridAuthoring authoring)
    {
        this.AddComponent(new MapGrid
        {
            ArrowEntity = this.GetEntity(authoring.ArrowGameObject)
        });
    }
}
